<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html lang="zh-cn" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>错误码一览</title>
<link rel="stylesheet" type="text/css" href="./css/mserver.css" />
<link rel="stylesheet" type="text/css" href="./css/calender.css" />
<link rel="stylesheet" type="text/css" href="./css/mserverother.css" />
<link rel="stylesheet" type="text/css" href="./css/tip-yellow.css" />
<link rel="stylesheet" type="text/css" href="./css/tip-darkgray.css" />
<link rel="stylesheet" type="text/css" href="./css/tableStyle.css" />
<script src="./js/jquery-1.8.0.min.js"></script>
<script src="./js/Common.js"></script>
</head>

<body>
	<div class="right">
		<div class="api_list">
			<h1>错误码一览</h1>
			<ul>
				<li><a href="#157">简介</a></li>
				<li><a href="#158">API平台错误</a></li>
			</ul>

		</div>
		<ul class="detail_list">
			<li style="padding-bottom: 20px;">
				<div class="title">
					<h2>
						<a name="157">简介</a>
					</h2>
					<a class="show" style="cursor: pointer;">[隐藏]</a>
				</div>
				<div class="theme_content" style="text-indent: 24px;">
					<p>1.目前开发者调用API可能出现的错误有三类：API平台错误、容器类错误和ISV业务错误。下面介绍一下和ISV成功率有关的名词说明：</p>
					<p>有效访问量=成功访问量+ISV业务错误（成功访问指的是正常获取到数据并且无报错的调用）</p>
					<p>ISV成功率=成功访问量/有效访问量</p>
					<p>2.连接云医服务器错误主要是http连接错误或者连接被重置被拒绝等，这类错误是开发者访问云医服务器出现的问题，请直接联系服务器管理员或通过网络搜索答案。</p>
				</div>
			</li>
			<li style="padding-bottom: 20px;">
				<div class="title">
					<h2>
						<a name="158">API平台错误</a>
					</h2>
					<a class="show" style="cursor: pointer;">[隐藏]</a>
				</div>
				<div class="theme_content" style="text-indent: 24px;">
					<p>错误码小于200的调用错误，这种错误一般是由于用户的请求不符合各种基本校验而引起的。用户遇到这些错误的返回首先检查应用的权限、频率等情况，然后参照文档检验一下传入的参数是否完整且合法。</p>
					<p>
						<strong>错误码小于200的平台级错误：</strong>
					</p>
					<div>
						<table id="tb_errorcode" width="100%" class="kindTable kindTable2" bordercolor="#ccdee8" border="1">
							<tbody>
								<tr class="blueBg">
									<th><b><span style='color: black; font-family: 宋体; font-size: 9pt; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;'>错误码</span></b></th>
									<th><b><span style='color: black; font-family: 宋体; font-size: 9pt; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;'>错误描述</span></b></th>
								</tr>
							</tbody>
						</table>
					</div>
					<p>
						<br>
					</p>
				</div>
			</li>
		</ul>
	</div>

	<script type="text/javascript">
		function ErrorCode_Callback(ret) {
			if (ret) {
				var html = '';
				for (var i = 0; i < ret.length; i++)
					html += '<tr><td><p>' + ret[i].errorCode + '</p></td><td><p>' + ret[i].description + '</p></td></tr>';

				if ($.trim(html).length > 0) {
					$('#tb_errorcode tbody').append(html);
					$('#tb_errorcode tr:even').addClass('blueBg');
					$('#tb_errorcode p').attr('align', 'center');
				}
			}
			window.parent.Public.ReSizeFrame();
		}

		$(function() {
			window.parent.Public.CurrentPage(this);
			Public.ajaxPost(window.parent.path + apis["getErrorcode"], null, ErrorCode_Callback, null);

			$(".show").click(function() {
				Public.Fold(this);
			});
		});
	</script>
</body>
</html>